package com.nuoniu.sibanyun.entity.finance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会计凭证模板明细表
 * </p>
 *
 * @author 小啊刚
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("fab_voucher_template_detail")
@ApiModel(value="VVoucherTemplateDetail对象", description="会计凭证模板明细表")
public class VVoucherTemplateDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模板d")
    @TableField("order_id")
    private Integer orderId;

    @ApiModelProperty(value = "账套id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "摘要")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "科目来源:1单据上的科目2:凭证模版")
    @TableField("accounting_type")
    private Integer accountingType;

    @ApiModelProperty(value = "会计科目id")
    @TableField("accounting_id")
    private Integer accountingId;

    @ApiModelProperty(value = "会计科目名称")
    @TableField("accounting_name")
    private String accountingName;

    @ApiModelProperty(value = "会计科目编码")
    @TableField("accounting_code")
    private String accountingCode;

    @ApiModelProperty(value = "金额方向:1借2贷")
    @TableField("amount_direction")
    private Integer amountDirection;

    @ApiModelProperty(value = "金额来源")
    @TableField("amount_source")
    private String amountSource;


}
